package com.ruoyi.vehicleDispatch.mapper;

import java.util.List;
import com.ruoyi.vehicleDispatch.domain.DispatchRadiusRule;

/**
 * 派单半径规则Mapper接口
 * 
 * @author niuyi
 * @date 2025-08-19
 */
public interface DispatchRadiusRuleMapper 
{
    /**
     * 查询派单半径规则
     * 
     * @param ruleId 派单半径规则主键
     * @return 派单半径规则
     */
    public DispatchRadiusRule selectDispatchRadiusRuleByRuleId(Integer ruleId);

    /**
     * 查询派单半径规则列表
     * 
     * @param dispatchRadiusRule 派单半径规则
     * @return 派单半径规则集合
     */
    public List<DispatchRadiusRule> selectDispatchRadiusRuleList(DispatchRadiusRule dispatchRadiusRule);

    /**
     * 新增派单半径规则
     * 
     * @param dispatchRadiusRule 派单半径规则
     * @return 结果
     */
    public int insertDispatchRadiusRule(DispatchRadiusRule dispatchRadiusRule);

    /**
     * 修改派单半径规则
     * 
     * @param dispatchRadiusRule 派单半径规则
     * @return 结果
     */
    public int updateDispatchRadiusRule(DispatchRadiusRule dispatchRadiusRule);

    /**
     * 删除派单半径规则
     * 
     * @param ruleId 派单半径规则主键
     * @return 结果
     */
    public int deleteDispatchRadiusRuleByRuleId(Integer ruleId);

    /**
     * 批量删除派单半径规则
     * 
     * @param ruleIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDispatchRadiusRuleByRuleIds(Integer[] ruleIds);
}
